import request from '@/utils/request'

// 提现订单列表
export function apiWithdrawOrderLists(params: any) {
    return request.get({ url: '/withdraw_order/lists', params })
}

// 添加提现订单
export function apiWithdrawOrderAdd(params: any) {
    return request.post({ url: '/withdraw_order/add', params })
}

// 编辑提现订单
export function apiWithdrawOrderEdit(params: any) {
    return request.post({ url: '/withdraw_order/edit', params })
}

// 删除提现订单
export function apiWithdrawOrderDelete(params: any) {
    return request.post({ url: '/withdraw_order/delete', params })
}

// 提现订单详情
export function apiWithdrawOrderDetail(params: any) {
    return request.get({ url: '/withdraw_order/detail', params })
}

export function apiWithdrawOrderRefunse(params: any) {
    return request.post({ url: '/withdraw_order/refuse', params })
}

export function apiWithdrawOrderPass(params: any) {
    return request.post({ url: '/withdraw_order/pass', params })
}